 
  <?php





?>
 
 
 
 <div class="col-md-6">
<div class="box box-primary">
                                <div class="box-header">
                                    <h3 class="box-title">Form Tagihan</h3>
                                </div><!-- /.box-header -->
                                <!-- form start -->
								<?php foreach($tagihan->result() as $row){ ?>
                                <form role="form" method="post" action="<?php echo base_url() ?>tagihan/update/<?php echo $row->id_tagihan ?>">
                                    <div class="box-body">
									
									
														
							<div class="form-group">
                                            <label >Nomer Tagihan</label>
                                            <input type="text" hidden class="form-control" value="<?php echo $row->nomer_tagihan ?> " readonly name="jumlah_angsuran" id="wilayah" placeholder="masukan angsuran jika jumlah kusus">
                                        </div>		

<div class="form-group">
                                            <label >Jenis Tagihan</label>
                                            <input type="text"  disable class="form-control" value="<?php echo $row->jenis_tagihan ?>" readonly name="jumlah_pesanan" id="wilayah" placeholder="masukan jumlah pesanan">
                                        </div>	

<div class="form-group">
                                            <label >Angsuran ke</label>
                                            <input type="text"  hidden class="form-control" value="<?php echo $row->angsuran_ke ?>" readonly  name="angsuran_ke" id="wilayah" placeholder="masukan jumlah pesanan">
                                        </div>	
										
										<div class="form-group">
                                            <label >Jumlah Tagihan</label>
                                            <input type="text" class="form-control" value="<?php echo $row->nominal ?>" readonly   name="jumlah_tagihan" id="wilayah" placeholder="masukan jumlah pesanan">
                                        </div>	
										<div class="form-group">
                                            <label >Jumlah Potongan</label>
                                            <input type="text" class="form-control" value="<?php echo $row->potongan ?>"    name="potongan" id="wilayah" placeholder="masukan jumlah potongan">
                                        </div>	
										
										<div class="form-group">
                                            <label >Masukan Real tagihan</label>
                                            <input type="text" class="form-control" value="" name="pembayaran" id="wilayah" placeholder="masukan jumlah real tagihan">
                                        </div>
										
										<div class="form-group">
                                           
                                            <input type="hidden" class="form-control"  value="<?php echo $row->id_tagihan ?>"  name="id_tagihan" id="wilayah" placeholder="masukan jumlah real tagihan">
                                        </div>
										
							
										
                                    </div><!-- /.box-body -->
				<?php } ?>
                                    <div class="box-footer">
                                        <button type="submit" class="btn btn-primary">Submit</button>
										  <a href="<?php echo base_url()?>tagihan/daftar_tagihan"><i name="iconposition" class="btn btn-success" title='Kembali' alt='Kembali'   > Kembali</i></a>
                                    </div>
                                </form>
                            </div><!-- /.box -->
 </div>